home *** CD-ROM | disk | FTP | other *** search
- From: RMarlowe@msn.com (Roger Marlowe)
- Subject: Space Problem?
- Date: 5 Apr 96 03:20:49 -0800
- Message-ID: <00001a81+0000b147@msn.com>
- Path: news.msn.com!msn.com
- Newsgroups: comp.lang.c++
- Organization: The Microsoft Network (msn.com)
-
- I have an AVL tree program which successfully builds a tree of 20
- nodes, 100 nodes or 1000 nodes. When I try with 10000 nodes, MSVC 4
- gives an 'Unhandled exception' error on the approx. 5000th node.
-
- It appears to have miscalculated the positions of some pointers...
-
- The program runs without a hitch on the mainframe at my school so I
- assume that my PC at home has run out of space somewhere.
-
- My PC is running Win 95 and has 16M of ram and about 20M free on
- the hard drive, it seems like this should be enough room (the nodes
- are small) if MSVC can use it.
-
- I'd like to know how MSVC 4.0 handles it's memory in this case:
-
- Am I constrained to a small, preallotted heap size or can MSVC use
- ALL the available memory space and will MSVC use the hard drive as
- virtual memory,as well?
-
-
- Thanks for your help...
-
- Roger Marlowe
-